<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        /* 
        嵌套的越深，权重就越高
         */
    p{
        color: steelblue;
    }
    .one{
        color: yellow;
    }
    div.one{
        color: seagreen;
    }
    body div .one{
        color: paleturquoise;
    }
    </style>
</head>
<body>
    <div>
        <p class="one">hello world</p>
    </div>
</body>
</html>